public with sharing class MC_JoinSuccessController {

    public PageReference redirect()
    {
        PageReference ret=Page.MC_Filter;
        ret.setRedirect(true);
        
        return ret;
    }
    
	public static testMethod void test1()
	{
		MC_JoinSuccessController controller=new MC_JoinSuccessController();
		PageReference ret=controller.redirect();
		System.assertEquals(Page.MC_Filter.getUrl(), ret.getUrl());
	}
}